#ifndef SHOWER_H
#define SHOWER_H

#include <QGraphicsView>
#include <QPixmap>
#include <array>
#include <cstdint>

class MainWindow : public QGraphicsView
{
Q_OBJECT
public:
    explicit MainWindow(QWidget* parent = nullptr);
private:
    QGraphicsScene* scene;
    QPixmap pixmap;

private slots:
    void UpdateView(const uint8_t* source);

private:
    void closeEvent(QCloseEvent* event) override;

signals:
    void CloseSignal();
};


#endif //SHOWER_H
